package com.zhouxl.jackson.xml.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.List;

/**
 * @author zhouxl
 * @DATE 2021/8/28
 * @descriptoin
 */
@Data
@JacksonXmlRootElement(localName = "GROUP")
public class PartGroup {

    @JSONField(name = "RQ")
    @JacksonXmlProperty(localName = "RQ")
    private String rq;

    @JSONField(name = "HBLIST")
    @JacksonXmlElementWrapper(localName = "HBLIST")
    @JacksonXmlProperty(localName = "HB")
    private List<NewHb> hbList;

}
